package org.jeecg.modules.demo.hd.service;

import org.jeecg.modules.demo.hd.entity.AppUserGoods;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.demo.hd.vo.usergoods.addUserGoodsVo;
import org.jeecg.modules.demo.hd.vo.usergoods.userGoodsListVo;
import org.jeecg.modules.demo.hd.vo.usergoods.userGoodsModelVo;

import java.util.List;

/**
 * @Description: 用户商品关联管理
 * @Author: sutao
 * @Date: 2025-01-19
 * @Version: V1.0
 */
public interface IAppUserGoodsService extends IService<AppUserGoods> {


    /**
     * 用户领养
     *
     * @param vo
     * @return
     */
    boolean addUserGoods(addUserGoodsVo vo);

    userGoodsModelVo getCurrentGoods();

    boolean endUserGooods();

    List<userGoodsListVo> queryUserGoods(String userId);
}
